﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListPlaces.aspx.cs" Inherits="WebService.Admin.ListPlaces" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

    <div>
        Get Places List 
                    | Go to
                    <asp:HyperLink ID="HyperLink3" runat="server" 
                        NavigateUrl="~/Admin/Category.aspx" style="text-align: right">CategoryList Page</asp:HyperLink>
&nbsp;
| Go to
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Admin/Item.aspx" 
                        style="text-align: right">ItemsList Page</asp:HyperLink>
&nbsp;| Go to
                    <asp:HyperLink ID="HyperLink5" runat="server" 
                        NavigateUrl="~/Admin/DeviceItem.aspx" style="text-align: right">Device List Page </asp:HyperLink>
&nbsp;| Go to
                    <asp:HyperLink ID="HyperLink2" runat="server" 
                        NavigateUrl="~/Admin/DeviceHistory.aspx" style="text-align: right">DeviceHistory Page</asp:HyperLink>
&nbsp;| Go to
                    <asp:HyperLink ID="HyperLink6" runat="server" 
                        NavigateUrl="~/Admin/ItemsMultilang.aspx" style="text-align: right">Item List Multilang Page </asp:HyperLink>
&nbsp;| Go to
                    <asp:HyperLink ID="HyperLink7" runat="server" 
                        NavigateUrl="~/Admin/CategoryMultilang.aspx" style="text-align: right">Category Multilang Page</asp:HyperLink>
&nbsp;| Go to
                    <asp:HyperLink ID="HyperLink8" runat="server" 
                        NavigateUrl="~/Admin/Languages.aspx" style="text-align: right">Language Page</asp:HyperLink>
&nbsp;| Return
                    <asp:HyperLink ID="HyperLink4" runat="server" 
                        NavigateUrl="~/Admin/Default.aspx" style="text-align: right">Admin Page</asp:HyperLink>
    </div>
    
        <asp:Label ID="Label1" runat="server" Text="Lat"></asp:Label>
&nbsp;<asp:TextBox ID="txt_lat" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label2" runat="server" Text="Lng"></asp:Label>
        <asp:TextBox ID="txt_lng" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp; Type&nbsp;
        <asp:DropDownList ID="ddl_type" runat="server" DataSourceID="SqlDataSource2" DataTextField="CategoryName" DataValueField="CategoryID"></asp:DropDownList>
        Radius
        <asp:DropDownList ID="ddl_radius" runat="server">
            <asp:ListItem>500</asp:ListItem>
            <asp:ListItem>1000</asp:ListItem>
            <asp:ListItem>1500</asp:ListItem>
            <asp:ListItem>2000</asp:ListItem>
            <asp:ListItem>2500</asp:ListItem>
            <asp:ListItem>3000</asp:ListItem>
            <asp:ListItem>3500</asp:ListItem>
            <asp:ListItem>4000</asp:ListItem>
            <asp:ListItem>4500</asp:ListItem>
            <asp:ListItem>5000</asp:ListItem>
            <asp:ListItem>5500</asp:ListItem>
            <asp:ListItem>6000</asp:ListItem>
            <asp:ListItem>6500</asp:ListItem>
            <asp:ListItem>7000</asp:ListItem>
            <asp:ListItem>7500</asp:ListItem>
            <asp:ListItem>8000</asp:ListItem>
            <asp:ListItem>8500</asp:ListItem>
            <asp:ListItem>9000</asp:ListItem>
            <asp:ListItem>9500</asp:ListItem>
            <asp:ListItem>10000</asp:ListItem>
        </asp:DropDownList>
        Key&nbsp;
        <asp:DropDownList ID="ddl_key" runat="server">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:GPSTravelConnect %>" 
            SelectCommand="SELECT * FROM [tbl_Category]" ></asp:SqlDataSource>
&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btn_getdata" runat="server" onclick="btn_getdata_Click" 
            Text="Get Data" />
        <asp:Button ID="btn_update" runat="server" onclick="btn_update_Click" 
            Text="Update to database" Visible="False" />
        <br />
        Rows
        <asp:TextBox ID="txt_row" runat="server"></asp:TextBox>
         Inserted Success
        <asp:TextBox ID="txt_success" runat="server"></asp:TextBox>
        <br />
        <asp:GridView ID="GridView1" runat="server">
        </asp:GridView>
    
       
    
    </div>
    </form>
</body>
</html>
